import { createRouter, createWebHistory, RouteRecordRaw } from "vue-router";
 
// 路由类型:RouteRecordRaw
const routes: Array<RouteRecordRaw> = [
  {
    path: "/",
    name: "Home",
    component: () => import('/src/components/Apps/Simulation/Home.vue'),
  },
  {
    path: "/FaultPoint",
    name: "FaultPoint",
    component: () => import('/src/components/Apps/Simulation/FaultPoint/index.vue'),
  },
  {
    path: "/WindowPage",
    name: "WindowPage",
    component: () => import('/src/components/Apps/Simulation/WindowPage/index.vue'),
  },
];
 
const router = createRouter({
  // 路由模式
  history: createWebHistory(),
  routes,
});
 
export default router;